<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">
        <div class="layui-row">
            <div class="layui-col-xs6">
                <div class="layui-form-item">
                    <label class="layui-form-label">姓名</label>
                    <div class="layui-input-block">
                        <input type="text" name="name" class="layui-input" lay-verify="required" placeholder="请输入姓名" value="{$row.name|default=''}">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">身份证号</label>
                    <div class="layui-input-block">
                        <input type="text" name="id_card" class="layui-input" lay-verify="required|identity" placeholder="请输入身份证号" value="{$row.id_card|default=''}">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">工作单位</label>
                    <div class="layui-input-block">
                        <input type="text" name="employer" class="layui-input" lay-verify="required" placeholder="请输入工作单位" value="{$row.employer|default=''}">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">留观点</label>
                    <div class="layui-input-block">
                        <input type="text" name="observe" class="layui-input" lay-verify="required" placeholder="请输入留观点" value="{$row.observe|default=''}">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">人员类别</label>
                    <div class="layui-input-block">
                        <input type="text" name="person_type" class="layui-input" lay-verify="required" placeholder="请输入人员类别" value="{$row.person_type|default=''}">
                    </div>
                </div>
            </div>
            <div class="layui-col-xs6">
                <div class="layui-form-item">
                    <label class="layui-form-label">性别</label>
                    <div class="layui-input-block">
                        {foreach $getSexList as $k=>$v}
                        <input type="radio" name="sex" value="{$k}" title="{$v}" {in name="k" value="$row.sex"}checked=""{/in}>
                        {/foreach}
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">手机号</label>
                    <div class="layui-input-block">
                        <input type="text" name="mobile" class="layui-input" lay-verify="required|mobile" placeholder="请输入手机号" value="{$row.mobile|default=''}">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">到沙时间</label>
                    <div class="layui-input-block">
                        <input type="text" name="arrival_time" class="layui-input" data-date="" data-date-type="datetime"  placeholder="请输入到沙时间" value="{$row.arrival_time|default=''}">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">高中风险地区</label>
                    <div class="layui-input-block">
                        {foreach $getIsDangerLocationList as $k=>$v}
                        <input type="radio" name="is_danger_location" value="{$k}" title="{$v}" {in name="k" value="$row.is_danger_location"}checked=""{/in}>
                        {/foreach}
                    </div>
                </div>
                {if $isSuper}
                <div class="layui-form-item">
                    <label class="layui-form-label">去向</label>
                    <div class="layui-input-block">
                        <select name="community">
                            {foreach $getCommunityList as $k=>$v}
                            <option value="{$v.id}" {in name="v.id" value="$row.community"} selected{/in}>{$v.name}</option>
                            {/foreach}
                        </select>
                    </div>
                </div>
                {/if}
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">出发地</label>
            <div class="layui-input-block">
                <textarea name="departure" class="layui-textarea" lay-verify="required" placeholder="请输入出发地">{$row.departure|default=''}</textarea>
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">行程出发地、路径地及时间</label>
            <div class="layui-input-block">
                <textarea name="buy_way" class="layui-textarea" lay-verify="required" placeholder="请输入行程出发地、路径地及时间">{$row.buy_way|default=''}</textarea>
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">现居住地址</label>
            <div class="layui-input-block">
                <textarea name="living" class="layui-textarea" lay-verify="required" placeholder="请输入现居住地址">{$row.living|default=''}</textarea>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label require">预计解除隔离时间</label>
            <div class="layui-input-block">
                <input type="text" name="jc_time" class="layui-input" data-date="" data-date-type="datetime"  placeholder="请输入预计接触隔离时间" value="{$row.jc_time|default=''}">
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">备注</label>
            <div class="layui-input-block">
                <textarea name="desc" class="layui-textarea" lay-verify="required" placeholder="请输入备注">{$row.desc|default=''}</textarea>
            </div>
        </div>
        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>